I think this must be the perfect zucchini cake ~ it’s super moist, full of crunchy walnuts, and topped with a creamy layer of browned butter frosting.

Get this Recipe in Your Inbox
This zucchini snack cake is a winner. I love the rich color, the threads of green running through it, the chunky walnuts, and the soft, springy crumb. But the browned butter frosting is what keeps pulling me back for another bite.

a luscious zucchini snack cake!
➡ It’s soft, plush, and moist without feeling heavy or soggy.
âž¡ Toasted walnuts add plenty of crunch and extra flavor.
âž¡ The creamy browned butter frosting is one you’ll use again and again.

Zucchini snack cake ingredient highlights
OIL: oil instead of butter keeps the cake nice and moist, even after slicing.
SOUR CREAM: adds richness and gives the cake a tender crumb.
BROWNED BUTTER: gives the frosting a deep, toasty flavor that’s especially good with the walnuts.

How to brown butter without burning it
- Put the butter in a small, preferably light-colored saucepan so you can easily see the color change.
- Melt it over medium heat and bring it to a gentle bubble. The butter will foam as its water content cooks off.
- Stir or swirl the pan occasionally. As the foam begins to subside, you’ll see tiny golden specks forming on the bottom of the pan. Those are the milk solids beginning to brown.
- Once the specks appear, watch closely. Lower the heat or briefly lift the pan from the burner if the butter seems to be browning too quickly.
- As soon as the butter is deep golden brown and smells toasted, immediately pour it into a heatproof bowl, scraping in all those flavorful brown bits.
- Don’t walk away while browning butter ~ it can go from perfectly browned to burned very quickly.
Let the browned butter cool to room temperature before using it to make the frosting for your zucchini snack cake.


Baking with zucchini faqs
Do I need to peel the zucchini?
No. The peel is tender and adds color, a little extra fiber, and flavor to the cake. Just wash the zucchini, trim the ends, and shred it.
Do I need to squeeze the moisture out of the zucchini?
No, I usually don’t do anything to the zucchini unless it seems especially wet. I like to shred it with the shredding blade in my food processor ~ it gives me nice, thick, relatively dry shreds that bake up beautifully.
Can I leave out the walnuts?
Yes, or substitute pecans. But the walnuts are especially good with the browned butter frosting.
Can I make this cake ahead?
Yes—the moisture from the zucchini keeps it fresh, and the flavor is just as good the next day.
Can I freeze this zucchini cake?
Yes. Freeze it well wrapped, either whole or in individual pieces. You can freeze it frosted, although unfrosted is a little easier to wrap. In that case you can flash freeze unwrapped, and wrap when firmed up.


Zucchini Snack Cake with Browned Butter Frosting
Equipment
- 9" square pan
Ingredients
for the cake
- 1 1/2 cups all-purpose flour
- 1 1/2 tsp baking powder
- 1/4 tsp baking soda
- 1 tsp cinnamon
- 1/4 tsp mace
- 3/4 tsp salt
- 2 large eggs
- 1 cup sugar
- 1/4 cup light brown sugar, lightly packed
- 1/2 cup vegetable oil
- 1/3 cup sour cream or full-fat Greek yogurt
- 1 Tbsp vanilla bean paste
- 1 1/2 cups packed shredded zucchini, lightly blotted with paper towels only if very wet.
- 3/4 cup chopped toasted walnuts
for the frosting
- 3 Tbsp unsalted butter
- 2 cups confectioner’s sugar
- 3 Tbsp heavy cream, or more as necessary to thin the frosting to a spreadable consistency.
Instructions
- Heat oven to 350°F. Grease and line a 9×9-inch pan with parchment paper.
- In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, mace, and salt.
- In a large bowl, whisk the eggs with the white and brown sugars until smooth and slightly thickened. Whisk in the oil, sour cream, and vanilla.
- Fold in the zucchini and walnuts.
- Add the dry ingredients and fold just until no dry flour remains.
- Spread the batter evenly in the pan.
- Bake for 35–42 minutes, until the center springs back lightly and a toothpick comes out without wet batter. A few moist crumbs are fine.
- Cool in the pan for about 20 minutes, then lift out and cool completely before frosting.
- Make the frosting by melting the 3 Tbsp unsalted butter over low to medium heat in a small pan on the stove. It helps to have a light colored pan so you can see the color change. Continue to heat the butter until you notice it starting to turn brown. You may need to lower your heat at this point to have more control over the process. You will see the milk solids turn into little brown specks. Be extra careful not to let the butter burn, but let it get to a rich deep brown color. This happens quickly, so don't walk away. I like to immediately pour the browned butter into a heatproof bowl to stop the cooking.
- Let the butter cool until it’s still fluid but no longer feels hot before adding to the 2 cups confectioner’s sugar. Then thin with the heavy cream until you get a spreadable consistency. You'll probably need 3-4 tablespoons of cream, depending on the consistency you like. Beat it until it is smooth and glossy.
- Spread it on the cooled cake and enjoy.
Notes
Nutrition
More baking with zucchini
Zucchini Cake with Cream Cheese Frosting
My zucchini cake is the ultimate summer-into-fall dessert, and you know there's lots of zucchini just waiting to be baked up!
Caramel Frosted Zucchini Pecan Bars
These zucchini bars with caramel frosting are the richest and most decadent in my arsenal of zucchini desserts ~ the cake is so moist and the frosting is dense and delicious, almost like a caramel fudge.
Moist Zucchini Brownies
Zucchini Brownies are super delicious ~ shredded zucchini not only makes these brownies extra moist, it gives you an excuse to go in for seconds; after all, we all need to eat our veggies!
Perfect Zucchini Muffins
Zucchini muffins combine summer zucchini with toasted walnuts and a hint of cinnamon ~ they're soft, moist, and yummy.
Chocolate Zucchini Snack Cake
Chocolate zucchini snack cake is moist, chocolaty, and made with lots of fresh zucchini ~ it's the perfect summer dessert for BBQs and snacking!
























You have a typo in the Step 2. It’s not “baling” powder but rather “baking” powder.
Fixed 🙂
Perfect! Turned out deliciously scrumptious. I would not change a thing. I give it an A+.
Yay, thanks!
This was a very moist but my edges were way overdone. One of my eggs had a double yolk and I used jumbo sized eggs. Not sure if that made a difference in the baking time. I also sqeezed the zucchini first and then measured it. I made penuche icing too just because it is my husband’s favorite. I will definitely try again and check it 5 minutes earlier. Thanks so much.
I made the pumpkin walnut cake in a bunt pan and used the brown butter spice glaze. Excellent reviews from family and friends I’ll definitely make this again.
Made this yesterday. It is delicious. Cake was not dense at all. Very tasty and excellent frosting. Will definitely make again.
I’ve been making this cake for years. It’s always delicious and it never fails to turn out the same way. So moist and light – I use the brown butter frosting on everything these days. So good.
Thanks Madeleine, I’m glad it’s worked out so well for you 🙂
For the zucchini cake, what can I substitute for vanilla paste?
You can use regular vanilla extract in its place Marti.
If you squeeze out the moisture from the zucchini, do you remeasure to make sure you have 1 cup of Zucchini?
No, just go ahead and use it.
Wow! Good cake! Love the moistness that the zucchini brings. I did add a little less sugar then recipe calls for. The icing is sweet enough for me so don’t need that much sugar in the cake.
Turned out really well. I did double the recipe, I needed to use up my zucchini. And I put it in a 9×13, but I also made 6 cupcakes because I didn’t want the cake so thick. I added choc chips instead of nuts just because my family is not so much for nuts. Lol. But considering with the changes I made still turned out really well!
Well, you can never go wrong subbing in chocolate chips 😉 Good to know it can be doubled like that.
This is a SUPER YUMMY recipe! What is the best way to store the cake?
I like to store cake on the counter, covered with foil, Brandi.